package com.example.common;

public class UploadResult {
    private int code;
    private String info;
    private Object errorMsg;
    private int totalCount;
    private int totalSize;
    private Object data;

    public UploadResult(int code, String info, Object errorMsg, int totalCount, int totalSize, Object data) {
        this.code = code;
        this.info = info;
        this.errorMsg = errorMsg;
        this.totalCount = totalCount;
        this.totalSize = totalSize;
        this.data = data;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public int getTotalSize() {
        return totalSize;
    }

    public void setTotalSize(int totalSize) {
        this.totalSize = totalSize;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public Object getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(Object errorMsg) {
        this.errorMsg = errorMsg;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
